package com.example.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.bean.Course;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author wjf
* @description 针对表【course】的数据库操作Mapper
* @createDate 2022-09-29 14:32:44
* @Entity com.example.bean.Course
*/
public interface CourseMapper extends BaseMapper<Course> {

    IPage<Course> findPage(IPage<Course> page, @Param("name") String name);

    List<Course> searchCourses(Integer studentId);
}





